using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.U2D;
using UnityEngine.UI;
public class ResManager : Singleton<ResManager>
{
    Loader loader;

    SpriteAtlas atlas;
    Dictionary<string, Sprite> spriteDict = new Dictionary<string, Sprite>();
    
    public void Init()
    {
        loader = new YooAssetLoader();
    }
    
    public void LoadSceneAsync(string sceneName)
    {
        
    }

    public void LoadImageAsync(string imageName)
    {
        
    }
    
    public void SetImageAsync(Image image, string imageName)
    {
        if (atlas.GetSprite(imageName) != null)
        {
            
        }
    }

    public void LoadUIAsync(string uiName)
    {
        loader.LoadUIAsync(uiName);
    }

    public void LoadPrefabAsync()
    {
        
    }
}
